<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <#assign currentMenu="shoppingTrolley"/>
    <#include "../common/header.ftl">
    <script src="/js/plugins/jquery-bootstrap/jquery.bootstrap.min.js"></script>
    <style type="text/css">
        .modal-body {
            max-height: 750px;
            overflow-y: auto;
        }
        .modal-body img {
            width: 100%;
        }
    </style>

    <script>
    </script>
</head>
<body>

<div class="container " style="margin-top: 20px">
    <#include "../common/top.ftl">
    <div class="row">
        <div class="col-lg-3">
            <#include "../common/menu.ftl">
        </div>
        <div class="col-lg-9">
            <div class="row">
                <div class="col-lg-12">
                    <h1 class="page-head-line">购物车管理</h1>
                </div>
            </div>
            <!--高级查询--->
            <form class="form-inline" id="searchForm" action="/shoppingTrolley/list.do" method="post">
                <input type="hidden" name="currentPage" id="currentPage" value="1">
                <div class="form-group">
                    <label>关键字:</label>
                    <input type="text" class="form-control" name="keyword" value="${(qo.keyword)!}"
                           placeholder="用户名">
                </div>
                <button id="btn_query" class="btn btn-info">
                    <span class="glyphicon glyphicon-pencil"></span> 查询
                </button>
            </form>

            <table class="table table-striped table-hover">
                <tr>
                    <th>序号</th>
                    <th>商品图标</th>
                    <th>商品名</th>
                    <th>商品积分</th>
                    <th>购物人</th>
                </tr>
                <#list result.list as entity>
                    <tr>
                        <td>${entity_index + 1}</td>
                        <td><img src="${entity.productCoverUrl}" width="100"/></td>
                        <td>${(entity.productName)!}</td>
                        <td>${entity.productIntegral}</td>
                        <td>${entity.userName}</td>
                    </tr>
                </#list>
            </table>
            <#include "../common/page.ftl">
        </div>
    </div>
</div>
<script type="text/javascript">
    
</script>
</body>
</html>